<%@ page session="false"%><%@ page
	contentType="text/html; charset=utf-8"%><%@ taglib
	uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%><%@ taglib
	uri="http://www.springframework.org/tags" prefix="s"%><%@ taglib
	uri="http://www.springframework.org/tags/form" prefix="form"%>
<div class="top_panel">
	<div class="logo border_left_green">
		<img alt="Keekus" title="Keekus"
			src="<c:url value='/resources/style1/images/logo.png'/>">
	</div>
	<div class="top_content">
		<div class="top_content_left"></div>
		<div class="top_content_right">
			<span class="border_left_blue"></span>
			<c:choose>
				<c:when test="${isAuthenticated == '-1'}">
					<form name='f' action='<c:url value="/j_spring_security_check"/>'
						method='POST'>
						User:<input type='text' name='j_username' value=''>Password:<input
							type='password' name='j_password' /><input name="submit"
							type="submit" value="Login" />
					</form>
				</c:when>
				<c:otherwise>
					<c:out value="${username}"></c:out>
					<form name='f' id="f"
						action='<c:url value="/j_spring_security_logout"/>' method='POST'>
						<a href="javascript:document.f.submit();"
							class="button green glossy" data-icon="☒">退出</a>
					</form>
				</c:otherwise>
			</c:choose>
		</div>
	</div>
</div>
